﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace ZaidimasSandelys.Models.Classes
{
    /// <summary>
    /// Custom komanda, kuri pririša prie F1 mygtuko komandą
    /// </summary>
    public class SandelysCommands
    {
        public static RoutedUICommand MoveCarBackCommand;
        
        static SandelysCommands()
        {
            var gestureCollection = new System.Windows.Input.InputGestureCollection();
            gestureCollection.Add(new KeyGesture(Key.F1, ModifierKeys.None, "Move car back"));
            MoveCarBackCommand = new RoutedUICommand("MoveCarBack", "MoveCarBack", typeof(SandelysCommands), gestureCollection);
        }
    }
}
